package com.ele.client.util;

public class QuestionHelper {
//    public static Question nextRndQuestion(Section section) {
//        List<Question> questions = section.getUncompletedQuestions();
//        int index = Random.nextInt(questions.size());
//        return questions.get(index);
//    }
//
//    public static boolean isCorrectAnswer(Question question, String answerText) {
//        for (Answer answer : question.getAnswers()) {
//            if (answer.getText().equalsIgnoreCase(answerText)) {
//                return true;
//            }
//        }
//
//        return false;
//    }
}
